export const tableOption = {
  labelPosition: 'right',
  labelWidth: 110,
  border: true,
  index: true,
  indexLabel: '序号',
  indexWidth: 60,
  stripe: true,
  menuAlign: 'center',
  align: 'center',
  searchMenuSpan: 6,
  dialogWidth:'50%',
  addBtn: true,
  editBtn: true,
  delBtn: true,
  searchMenuPosition: 'left',
  searchLabelWidth: 'auto',
  column: [
    {
      fixed: true,
      type: 'input',
      label: '分组id',
      prop: 'supplierId',
      addDisplay: false,
      editDisplay: false,
      editDisabled: true,
      hide:true
    },
    {
      fixed: true,
      type: 'input',
      label: '分组名称',
      prop: 'supplierName',
      rules:[{
        required: true,
        message: '供应商名称必须填写',
        trigger: 'blur'
      }],
      span:12,
      // searchLabelWidth: 110,
      search:true,
      overHidden:true
    },
    {
      type: 'input',
      label: '设备数量',
      prop: 'supplierCode',
      editDisabled: true,
      addDisabled:true,
      hide:true
    },
    {
      type: 'textarea',
      label: '备注',
      prop: 'remark',
      span:24,
      overHidden:true
    }
  ]
}
